package com.codejoys.monitor.exception;

/**
 * 所有的业务异常，都抛出这个TmsException
 */
public class SysException extends RuntimeException {
    private Integer code;

    public SysException() {
    }

    public SysException(Throwable cause) {
        super(cause);
    }

    public SysException(Integer code, String message) {
        super(message);

        this.code = code;
    }

    public Integer getCode() {
        return code;
    }
}
